package com.hunterai.service;

import com.hunterai.dto.UserDTO;
import com.hunterai.entity.User;

import java.util.List;
import java.util.Optional;

public interface UserService {
    List<UserDTO> findAll();
    Optional<UserDTO> findById(Long id);
    Optional<UserDTO> findByUserName(String userName);
    Optional<User> findUserEntityById(Long id);
    UserDTO save(User user);
    void deleteById(Long id);
} 